package com.khson.knows.portal.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.khson.knows.portal.model.Question;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author com.khson
 * @since 2021-08-23
 */
public interface IQuestionService extends IService<Question> {

    //根据当前登录用户查询所有问题列表
    //PageInfo保存分析信息和查询出的问题列表
    PageInfo<Question> getMyQuestions(String username,
                                      Integer pageNum,Integer pageSize);
}
